package com.yykj.tencent.im.client.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SendCustomMsgRequest {

    @ApiModelProperty(value="消息接收方 UserID",required = true)
    @NotEmpty(message = "帐号不能为空")
    private List<String> toAccounts;

    @ApiModelProperty(value="消息内容",required = true)
    @NotEmpty(message = "消息内容不能为空")
    private List<String> msgBodys;

    @ApiModelProperty(value="发送人",required = true)
    @NotEmpty(message = "发送人不能为空")
    private String fromAccount;

}
